package etnorservice.etnor_service.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cc
 * @since 2024-06-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("api")
@ApiModel(value="Api对象", description="")
public class ApiDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "api供应方")
    private String apiapply;
    @ApiModelProperty(value = "api状态，0-异常，1-正常，2-升级")
    private Integer status;
    @ApiModelProperty(value = "是否需要token:0-不需要，1-需要")
    private Integer isneedtoken;
    @ApiModelProperty(value = "接口名字")
    private String name;
    @ApiModelProperty(value = "注意事项")
    private String note;
    @ApiModelProperty(value = "starts数")
    private Integer starts;
    @ApiModelProperty(value = "调用示例json")
    private String call;
    @ApiModelProperty(value = "响应示例json")
    private String respose;
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatetime;
    @ApiModelProperty(value = "测试url")
    private String testurl;
    @ApiModelProperty(value = "类型icon")
    private String icon;
    @ApiModelProperty(value = "接口描述")
    private String description;
    @ApiModelProperty(value = "接口总站")
    private String apiurl;
    private Integer type;
    private Integer talentid;
    private String apiid;
    private Integer state;
    private Integer isCreate;
    private String resType;
    private String rqsType;


    private Integer apiRequestCount;
    private String mode;
    private Integer apiLimit;


    private String imageLinks;

}
